package com.burger.controller;

public class Code {
    public static final Integer SAVE_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer GET_OK = 20041;

    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

    public static final Integer LOGIN_SUCCESS = 40000;  //登录成功
    public static final Integer LOGIN_ERR = 40010;      //登录失败
    public static final Integer REGISTER_SUCCESS = 40000;  //注册成功
    public static final Integer REGISTER_ERR = 40010;      //注册失败

    public static final Integer UP_SUCCESS = 50000;  //登录成功
    public static final Integer UP_ERR = 50010;      //登录失败
    public static final Integer DOWN_SUCCESS = 50000;  //注册成功
    public static final Integer DOWN_ERR = 50010;      //注册失败

    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer BUSINESS_ERR = 60001;
    public static final Integer SYSTEM__TIMEOUT_ERR = 50002;
    public static final Integer SYSTEM_UNKNOWN_ERR = 59999;
}
